import './App.css'
import { ConfigProvider, App } from 'antd'
import zhCN from 'antd/locale/zh_CN'
import { RouterProvider } from 'react-router-dom'
import router from './router'
import { antdTheme } from './theme'

function ShopApp() {
  return (
    <ConfigProvider locale={zhCN} theme={antdTheme}>
      <App>
        <RouterProvider router={router} />
      </App>
    </ConfigProvider>
  )
}

export default ShopApp
